package co.fitstart.admin.handler;

import java.io.InputStream;
import java.util.List;

import co.fitstart.entity.user.User;
import co.fitstart.entity.user.UserSource;

/**
 * @author wangliwang
 *
 */
public interface UserHandler {

    /**
     * @param mobile
     * @param userName
     * @param visitor           the user whether is visitor
     * @param userAccountKey    the userAccount's name as sign of user
     * @param userAccountValue  the userAccount's value
     * @return
     */
    public User create(String mobile, String userName, boolean visitor, String userAccountKey, String userAccountValue);
    
    /**
     * 
     * @param inputStream
     * @return
     */
    public List<UserSource> listUserSource(InputStream inputStream);
    
}
